<?php

namespace Modules\System\Http\Controllers;

use Illuminate\Http\Request;
use Illuminate\Contracts\Support\Renderable;
use Illuminate\Routing\Controller;


class Map extends Controller
{
    /**
     * 地图
     * @return Renderable
     * http://l.com/system/map/index
     */
    public function index(Request $request){

        $i = $request->input();

        $data['mds'] = $i['mds'];

        $data['longitude'] = isset($i['longitude'])?$i['longitude']:'';
        $data['latitude'] = isset($i['latitude'])?$i['latitude']:'';

        return view('system::Map/index',$data);

    }

}
